import Mock from 'mockjs'

// 引入主页table数据
// import homeApi from './mockData/home.js'
import homeApi from './mockData/home.js'
import userApi from './mockData/user.js'

// 拦截请求
Mock.mock(/home\/getTableData/, homeApi.getHomeData)

Mock.mock(/user\/getUser/,'get', userApi.getUserList)